package user

import (
	"github.com/astaxie/beego/context"
)

/**
 * 账户管理
 */
type Account_interface interface {
	//展示页面
	Show(ctx *context.Context) string
	//登陆
	Login(ctx *context.Context) (info map[string]interface{}, err error)
	//注册
	Register(ctx *context.Context) (info map[string]interface{}, err error)
	//退出
	Logout(ctx *context.Context)
}
